package com.hry.store.service;

import com.github.pagehelper.PageInfo;
import com.hry.store.pojo.Order;

import java.util.List;

public interface OrderService {
    void addToOrder(Order order);

    List<Order> getByEmailAndOrderNo(String userEmail, Long orderNo);

    PageInfo<Order> getByEmail(String userEmail, Integer pageSize, Integer pageNum);

    List<Order> findByUserEmailAndStatus(String userEmail, Long orderNo);

    List<Order> getStartProduct();
}
